package jp.co.piratealliance.pirateAllianceWeb.service.com.impl;

import jp.co.piratealliance.pirateAllianceWeb.dao.com.CommonDao;
import jp.co.piratealliance.pirateAllianceWeb.dto.com.SystemDto;
import jp.co.piratealliance.pirateAllianceWeb.service.com.CommonService;

/**
 * copyright pirate alliance team 2014
 *
 * @author xuwei
 *
 */
public class CommonServiceImpl implements CommonService
{

	/**
	 * 共通Dao
	 */
	private CommonDao commonDao;
	
	public String getSequence(String seqName)
	{
		return commonDao.getSequence(seqName);
	}

	public CommonDao getCommonDao()
	{
		return commonDao;
	}

	public void setCommonDao(CommonDao commonDao)
	{
		this.commonDao = commonDao;
	}

	public SystemDto getVersion(String app_name) {
		// TODO Auto-generated method stub
		return commonDao.getVersion(app_name);
	}

}
